package com.songshuai.webapi.crm.dto.response.customerfollow;

import com.songshuai.webapi.crm.util.Util;
import lombok.Data;

import java.util.List;
import java.util.Map;

import java.util.Date;

@Data
public class ListRecordResDto {

    //沟通记录ID
    private String id;
    //沟通人
    private Integer communicateBy;
    //沟通人名称
    private String communicateName;
    //沟通内容
    private String communicateContent;
    //沟通时间
    private Date commucinateTime;
    //下次沟通时间
    private Date nextCommunicateTime;
    //图片列表
    private List<Map> pictures;

    public String getCommucinateTime() {
        return Util.ChangeDateToString(commucinateTime,"yyyy-MM-dd HH:mm:ss");
    }

    public String getNextCommunicateTime() {
        return Util.ChangeDateToString(nextCommunicateTime,"yyyy-MM-dd HH:mm:ss");
    }

}
